﻿using OwnZTec.LojaDelivery.Data;

namespace OwnZTec.LojaDelivery.UI.WinForms
{
    internal static class Contexto
    {
        private static mdlDbLojaDeliveryContainer _db;

        internal static mdlDbLojaDeliveryContainer Db
        {
            get { return _db ?? (_db = new mdlDbLojaDeliveryContainer()); }
        }


        internal static int idUsuarioLogado { get; set; }

        internal static string UsuarioMaster = "OwnZTecAdm";
        internal static string UsuarioMasterSenha = "±öïûÁåì"; //0wnz@dm

        internal static FrmPrincipal MainForm
        {
            get;
            set;
        }

        internal static bool ModoAdmin
        {
            get;
            set;
        }

        internal static string NomeSistema
        {
            get;
            set;
        }

        internal static bool Saindo
        {
            get;
            set;
        }
    }
}
